<%@ page language="java" import="com.demo.util.Conn,java.sql.ResultSet" pageEncoding="UTF-8"%>
<%
String job_id = request.getParameter("job_id");
String sql = "select * from dbf_job_info where job_ID=" + job_id;

ResultSet rs = new Conn().find(sql);
boolean next = rs.next();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Job information</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<link rel="stylesheet" type="text/css" href="../style.css">
  </head>
  
  <body>
  <table width="718" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="39" colspan="3" background="../images/main_title.jpg"><strong>&nbsp;&nbsp;&nbsp;&nbsp;<span class="menutitle">&nbsp;Job Details </span></strong></td>
    </tr>
    <tr>
      <td valign="bottom"><img src="../images/menu_a.jpg" width="19" height="23" /></td>
      <td valign="top">&nbsp;</td>
      <td valign="bottom"><img src="../images/menu_b.jpg" width="18" height="23" /></td>
    </tr>
    <tr>
      <td width="19" valign="top" background="../images/menu_c.jpg"><img src="../images/menu_c.jpg" width="19" height="54" /></td>
      <td width="681" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="logintxt">

        <tr>
          <td width="16%">Job Post：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("job_title")!=null ? rs.getString("job_title") : "" %></td>
          <td width="20%" align="right">Company Name：&nbsp;</td>
          <td width="28%" align="left"><%=next==true && rs.getString("company_name")!=null ? rs.getString("company_name") : "" %></td>
        </tr>
        <tr>
          <td>Business Nature：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("BUSINESS_NATURE")!=null ? rs.getString("BUSINESS_NATURE") : "" %></td>
          <td width="20%" align="right">Job Nature：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("JOB_NATURE")!=null ? rs.getString("JOB_NATURE") : "" %></td>
        </tr>
        <tr>
          <td>Start Date：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("JOB_STARTING_DATE")!=null ? rs.getString("JOB_STARTING_DATE") : "" %></td>
          <td width="20%" align="right">End Date：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("APPLICATION_DEADLINE")!=null ? rs.getString("APPLICATION_DEADLINE") : "" %></td>
        </tr>
        <tr>
          <td>Company Introduction：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("COMPANY_INTRODUCTION")!=null ? rs.getString("COMPANY_INTRODUCTION") : "" %></td>
          <td width="20%" align="right">Job Description：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("JOB_DESCRIPTION")!=null ? rs.getString("JOB_DESCRIPTION") : "" %></td>
        </tr>
        <tr>
          <td>Requirement：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("REQUIREMENT")!=null ? rs.getString("REQUIREMENT") : "" %></td>
          <td width="20%" align="right">Additional Information：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("ADDITIONAL_INFORMATION")!=null ? rs.getString("ADDITIONAL_INFORMATION") : "" %></td>
        </tr>
        <tr>
          <td>Email：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("MAILING_ADDRESS")!=null ? rs.getString("MAILING_ADDRESS") : "" %></td>
          <td width="20%" align="right">Website：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("WEBSITE")!=null ? rs.getString("WEBSITE") : "" %></td>
        </tr>
        <tr>
          <td>Contact Person：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("CONTACT_PERSON")!=null ? rs.getString("CONTACT_PERSON") : "" %></td>
          <td width="20%" align="right">Department：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("DEPARTMENT")!=null ? rs.getString("DEPARTMENT") : "" %></td>
        </tr>
        <tr>
          <td>Conact Number：&nbsp;</td>
          <td width="36%" align="left"><%=next==true && rs.getString("DIRECT_LINE")!=null ? rs.getString("DIRECT_LINE") : "" %></td>
          <td width="20%" align="right">Fax：&nbsp;</td>
          <td align="left"><%=next==true && rs.getString("FACSIMILE")!=null ? rs.getString("FACSIMILE") : "" %></td>
        </tr>
        <tr>
          <td height="20" colspan="4">&nbsp;</td>
        </tr>
        <tr>
          <td align="center" colspan="4"><a href="doapply.jsp?cid=<%=rs.getString("company_id") %>&cname=<%=rs.getString("company_name") %>&jid=<%=rs.getString("job_id") %>&jct=<%=rs.getString("JOB_STARTING_DATE") %>"><img src="../images/apply_btn.jpg" name="button" border="0"/></a>&nbsp;&nbsp;&nbsp; <input name="button" type="image" src="../images/back_btn.jpg" onClick="javascript :history.back(-1)" value="back"/> </td>
        </tr>
      </table></td>
      <td width="18" valign="top" background="../images/menu_d.jpg"><img src="../images/menu_d.jpg" width="18" height="54" /></td>
    </tr>
    <tr>
      <td><img src="../images/menu_e.jpg" width="19" height="25" /></td>
      <td background="../images/menu_f.jpg"><img src="../images/menu_f.jpg" width="181" height="25" /></td>
      <td><img src="../images/menu_g.jpg" width="18" height="25" /></td>
    </tr>
  </table>
  </body>
</html>
